package com.pureut.storage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.storage.domain.PickingRest;
import com.pureut.storage.dto.AndroidHandoverPdaDto;
import com.pureut.storage.dto.AndroidPdaDto;
import com.pureut.storage.dto.GetPdaDto;
import com.pureut.storage.dto.PickingRestDto;
import com.pureut.storage.export.PickingRestExport;
import com.pureut.storage.vo.PickingRestVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: CM
 * @date: 2022/12/28    17:49
 */
@Mapper
public interface PickingRestMapper extends BaseMapper<PickingRest> {
    /**
     * 其他出库列表
     * @param pickingRestVo
     * @return
     */
    List<PickingRestDto> getPickingRestList(PickingRestVo pickingRestVo);

    /**
     * 其他出库查看
     * @param id
     * @return
     */
    PickingRestDto getPickingById(@Param("id") Long id);


    List<GetPdaDto> getPickingRestListPda(PickingRestVo pickingRestVo);

    /**
     * 其他出库交接列表
     * @param deptId
     * @return
     */
    List<AndroidHandoverPdaDto> getAndroidHandoverList(Long deptId);

    AndroidHandoverPdaDto getAndroidHandoverView(Long id);

    List<AndroidPdaDto> getWipCompletionAndroidManualpickCancellationList(Long deptId);

    /**
     * 导出
     * @param pickingRestVo
     * @return
     */
    List<PickingRestExport> getInfoExport(PickingRestVo pickingRestVo);
}
